package cn.gailvlun.gll.presentation.xroom.adapter

import android.content.Context
import android.os.Bundle
import android.widget.TextView
import cn.gailvlun.gll.R

class ImpressionDialog(context: Context, val description: String): BottomDialog<Any>(context) {

    override fun getResourceId(): Int = R.layout.dialog_impression

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        findViewById<TextView>(R.id.tv_description).text = description

        setCancelable(false)
    }
}